/**
 * main.ts
 *
 * Bootstraps Vuetify and other plugins then mounts the App`
*/

// 引入mock（确保在应用创建前完成拦截）
import '@/mock'
import { createPinia } from 'pinia'
import createPersistedState from 'pinia-plugin-persistedstate'
// Composables
import { createApp } from 'vue'
// Plugins
import { registerPlugins } from '@/plugins'

// Components
import App from './App.vue'
// 引入样式
import 'md-editor-v3/lib/style.css'

// Styles
import 'unfonts.css'
import '@/styles/main.less'


const app = createApp(App)
const pinia = createPinia()
pinia.use(createPersistedState)
app.use(pinia)
registerPlugins(app)

app.mount('#app')
